#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
#import "Zhuge.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [GeneratedPluginRegistrant registerWithRegistry:self];
  // Override point for customization after application launch.
    
    NSString *testingKey  = @"bcfe4df31a4e409dbf5fb02e6e1bcd4d";
//    NSString *prodKey  = @"58adb9e6aafb415c8b873daebe662f43";
    Zhuge *zhuge =[Zhuge sharedInstance];
    [zhuge setUploadURL:@"https://zhugeio.amwaynet.com.cn" andBackupUrl:NULL];
    [zhuge startWithAppKey:testingKey launchOptions:launchOptions];
    
  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

@end
